package com.eascs.spider.hr.user.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;

import com.eascs.spider.hr.common.entity.InsertEntity;

/**
 * The persistent class for the team database table.
 * 
 */
@Entity
@NamedQuery(name = "Team.findAll", query = "SELECT t FROM Team t")
public class Team extends InsertEntity {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String code;

	private String name;

	private String comments;

	@Column(name = "leader_user_code")
	private String leaderUserCode;

	private String status;

	public Team() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getLeaderUserCode() {
		return this.leaderUserCode;
	}

	public void setLeaderUserCode(String leaderUserCode) {
		this.leaderUserCode = leaderUserCode;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}